package com.cyys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 广告信息
 * </p>
 *
 * @author Long
 * @since 2022-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Adv对象", description="广告信息")
public class Adv implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private Date gmt_create;

    @ApiModelProperty(value = "修改时间")
    private Date gmt_modified;

    @ApiModelProperty(value = "状态(1:正常，0:禁用)")
    private Integer status_id;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "广告标题")
    private String adv_title;

    @ApiModelProperty(value = "广告图片")
    private String adv_img;

    @ApiModelProperty(value = "广告链接")
    private String adv_url;

    @ApiModelProperty(value = "广告跳转方式")
    private String adv_target;

    @ApiModelProperty(value = "广告位置(1首页轮播)")
    private Integer adv_location;

    @ApiModelProperty(value = "开始时间")
    private Date begin_time;

    @ApiModelProperty(value = "结束时间")
    private Date end_time;

    @ApiModelProperty(value = "位置(0电脑端，1微信端)")
    private Integer plat_show;


}
